package richbar.com.richbar.bean;

import com.common.base.BaseResult;

import java.util.List;

import richbar.com.richbar.base.S;

/**
 * Created by QiYang on 2018/11/30.
 */

public class GoodsCollectResult extends BaseResult{

    /**
     * code : 200
     * msg : 请求成功
     * data : {"rows":[{"coll_id":1,"goods_id":9,"goods_name":"冬加厚羊毛衫女毛衣裙中长款修身印花针织衫套头貂绒毛衣打底连衣裙","goods_img":"/upload/15428743176208.jpeg","goods_rate":0,"goods_collect_num":1,"goods_price":"207.00"}],"total":1,"totalpage":1}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * rows : [{"coll_id":1,"goods_id":9,"goods_name":"冬加厚羊毛衫女毛衣裙中长款修身印花针织衫套头貂绒毛衣打底连衣裙","goods_img":"/upload/15428743176208.jpeg","goods_rate":0,"goods_collect_num":1,"goods_price":"207.00"}]
         * total : 1
         * totalpage : 1
         */

        private int total;
        private int totalpage;
        private List<RowsEntity> rows;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public List<RowsEntity> getRows() {
            return rows;
        }

        public void setRows(List<RowsEntity> rows) {
            this.rows = rows;
        }

        public static class RowsEntity {
            /**
             * coll_id : 1
             * goods_id : 9
             * goods_name : 冬加厚羊毛衫女毛衣裙中长款修身印花针织衫套头貂绒毛衣打底连衣裙
             * goods_img : /upload/15428743176208.jpeg
             * goods_rate : 0
             * goods_collect_num : 1
             * goods_price : 207.00
             */

            private String coll_id;
            private int goods_id;
            private String goods_name;
            private String goods_img;
            private int goods_rate;
            private int goods_collect_num;
            private String goods_price;
            private String seller_id;
            private String seller_name;
            private String seller_logo;
            private String seller_collect_num;

            public String getSeller_id() {
                return seller_id;
            }

            public void setSeller_id(String seller_id) {
                this.seller_id = seller_id;
            }

            public String getSeller_name() {
                return seller_name;
            }

            public void setSeller_name(String seller_name) {
                this.seller_name = seller_name;
            }

            public String getSeller_logo() {
                return seller_logo;
            }

            public void setSeller_logo(String seller_logo) {
                this.seller_logo = seller_logo;
            }

            public String getSeller_collect_num() {
                return seller_collect_num;
            }

            public void setSeller_collect_num(String seller_collect_num) {
                this.seller_collect_num = seller_collect_num;
            }

            public String getColl_id() {
                return coll_id;
            }

            public void setColl_id(String coll_id) {
                this.coll_id = coll_id;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public int getGoods_rate() {
                return goods_rate;
            }

            public void setGoods_rate(int goods_rate) {
                this.goods_rate = goods_rate;
            }

            public int getGoods_collect_num() {
                return goods_collect_num;
            }

            public void setGoods_collect_num(int goods_collect_num) {
                this.goods_collect_num = goods_collect_num;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }
        }
    }
}
